<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libical-3.0.8
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;9.&nbsp;General Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libgusb.html" title="libgusb-0.3.4">Prev</a>
          <p>
            libgusb-0.3.4
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libidn.html" title="libidn-1.35">Next</a>
          <p>
            libidn-1.35
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libical" name="libical"></a>libical-3.0.8
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libical
        </h2>
        <p>
          The <span class="application">libical</span> package contains an
          implementation of the iCalendar protocols and data formats.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/libical/libical/releases/download/v3.0.8/libical-3.0.8.tar.gz">
                https://github.com/libical/libical/releases/download/v3.0.8/libical-3.0.8.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 41bd1f1fcdcb4779cea478bb55cf07bf
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 864 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 21 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.2 SBU (Using parallelism=4; with
                tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          libical Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="cmake.html" title=
          "CMake-3.17.0">CMake-3.17.0</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="gobject-introspection.html" title=
          "gobject-introspection-1.64.0">gobject-introspection-1.64.0</a> and
          <a class="xref" href="vala.html" title=
          "Vala-0.48.2">Vala-0.48.2</a>(both required for Gnome)
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../server/db.html" title=
          "Berkeley DB-5.3.28">Berkeley DB-5.3.28</a>, <a class="xref" href=
          "doxygen.html" title="Doxygen-1.8.17">Doxygen-1.8.17</a> (for the
          API documentation), <a class="xref" href="icu.html" title=
          "ICU-66.1">ICU-66.1</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libical">http://wiki.linuxfromscratch.org/blfs/wiki/libical</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libical
        </h2>
        <p>
          Install <span class="application">libical</span> by running the
          following commands:
        </p>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            This package may occasionally fail when building with multiple
            processors. See <a class="xref" href=
            "../introduction/notes-on-building.html#parallel-builds" title=
            "Using Multiple Processors">Using Multiple Processors</a> for
            more information.
          </p>
        </div>
        <pre class="userinput">
<kbd class="command">mkdir build &amp;&amp;
cd    build &amp;&amp;

cmake -DCMAKE_INSTALL_PREFIX=/usr  \
      -DCMAKE_BUILD_TYPE=Release   \
      -DSHARED_ONLY=yes            \
      -DICAL_BUILD_DOCS=false      \
      -DGOBJECT_INTROSPECTION=true \
      -DICAL_GLIB_VAPI=true        \
      .. &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          test</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>-DCMAKE_BUILD_TYPE=Release</code></em>:
          This switch is used to apply higher level of the compiler
          optimizations.
        </p>
        <p>
          <em class="parameter"><code>-DSHARED_ONLY=yes</code></em>: This
          switch is used in order to only build the shared libraries.
        </p>
        <p>
          <em class="parameter"><code>-DICAL_BUILD_DOCS=false</code></em>:
          This switch prevents building the <span class=
          "application">GTK</span> documentation, because gtk-doc-1.30 is
          broken. Unfortunately, it also prevents building the API
          documentation.
        </p>
        <p>
          <em class=
          "parameter"><code>-DGOBJECT_INTROSPECTION=true</code></em>: This
          switch is used to generate GObject metadata bindings.
        </p>
        <p>
          <em class="parameter"><code>-DICAL_GLIB_VAPI=true</code></em>: This
          switch is used in order to build bindings for <a class="xref" href=
          "vala.html" title="Vala-0.48.2">Vala-0.48.2</a>.
        </p>
        <p>
          <code class="option">-DUSE_BUILTIN_TZDATA=yes</code>: This switch
          is used in order to build using your own timezone data.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libical_cxx.so, libical.so,
              libicalss_cxx.so, libicalss.so, and libicalvcal.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/include/libical,
              /usr/lib/cmake/LibIcal and
              /usr/share/doc/libical-3.0.8/html</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="libical-lib" name="libical-lib"></a><span class=
                    "term"><code class="filename">libical.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">libical</span> API
                    functions.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libical_cxx-lib" name=
                    "libical_cxx-lib"></a><span class="term"><code class=
                    "filename">libical_cxx.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">libical</span> C++
                    bindings.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libicalss" name="libicalss"></a><span class=
                    "term"><code class="filename">libicalss.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a library that allows you to store iCal component data
                    to disk in a variety of ways.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libicalss_cxx" name=
                    "libicalss_cxx"></a><span class="term"><code class=
                    "filename">libicalss_cxx.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">libicalss</span>
                    C++ bindings.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libicalvcal" name="libicalvcal"></a><span class=
                    "term"><code class=
                    "filename">libicalvcal.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a vCard/vCalendar C interface.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-11 03:31:17 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libgusb.html" title="libgusb-0.3.4">Prev</a>
          <p>
            libgusb-0.3.4
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libidn.html" title="libidn-1.35">Next</a>
          <p>
            libidn-1.35
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
